home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6e | 74 70 64 32 2e 63 78 6f |Path: nn|tpd2.cxo|
|00000010| 2e 64 65 63 2e 63 6f 6d | 21 75 73 65 6e 65 74 0a |.dec.com|!usenet.|
|00000020| 46 72 6f 6d 3a 20 42 72 | 69 61 6e 20 48 69 62 62 |From: Br|ian Hibb|
|00000030| 65 72 74 20 3c 62 5f 68 | 69 62 62 65 72 74 40 63 |ert <b_h|ibbert@c|
|00000040| 73 63 33 32 2e 65 6e 65 | 74 2e 64 65 63 2e 63 6f |sc32.ene|t.dec.co|
|00000050| 6d 3e 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |m>.Newsg|roups: c|
|00000060| 6f 6d 70 2e 6c 61 6e 67 | 2e 63 0a 53 75 62 6a 65 |omp.lang|.c.Subje|
|00000070| 63 74 3a 20 52 65 3a 20 | 49 73 20 74 68 69 73 20 |ct: Re: |Is this |
|00000080| 6f 6b 3a 20 2a 70 6f 69 | 6e 74 65 72 2b 2b 20 3d |ok: *poi|nter++ =|
|00000090| 20 76 61 6c 75 65 20 3f | 3f 0a 44 61 74 65 3a 20 | value ?|?.Date: |
|000000a0| 36 20 4a 61 6e 20 31 39 | 39 36 20 31 36 3a 31 32 |6 Jan 19|96 16:12|
|000000b0| 3a 31 36 20 47 4d 54 0a | 4f 72 67 61 6e 69 7a 61 |:16 GMT.|Organiza|
|000000c0| 74 69 6f 6e 3a 20 44 69 | 67 69 74 61 6c 20 45 71 |tion: Di|gital Eq|
|000000d0| 75 69 70 6d 65 6e 74 20 | 43 6f 72 70 6f 72 61 74 |uipment |Corporat|
|000000e0| 69 6f 6e 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |ion.Mess|age-ID: |
|000000f0| 3c 34 63 6d 37 31 30 24 | 6e 69 31 40 6e 6e 74 70 |<4cm710$|ni1@nntp|
|00000100| 64 32 2e 63 78 6f 2e 64 | 65 63 2e 63 6f 6d 3e 0a |d2.cxo.d|ec.com>.|
|00000110| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 63 6b |Referenc|es: <4ck|
|00000120| 6c 76 76 24 6e 6d 6d 40 | 61 6c 63 6f 72 2e 75 73 |lvv$nmm@|alcor.us|
|00000130| 63 2e 65 64 75 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |c.edu>.N|NTP-Post|
|00000140| 69 6e 67 2d 48 6f 73 74 | 3a 20 70 65 6f 31 30 31 |ing-Host|: peo101|
|00000150| 32 5f 70 6f 72 74 31 2e | 70 65 6f 2e 64 65 63 2e |2_port1.|peo.dec.|
|00000160| 63 6f 6d 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |com.Mime|-Version|
|00000170| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|00000180| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|00000190| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|000001a0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 72 61 6e 73 66 65 |.Content|-Transfe|
|000001b0| 72 2d 45 6e 63 6f 64 69 | 6e 67 3a 20 37 62 69 74 |r-Encodi|ng: 7bit|
|000001c0| 0a 58 2d 4d 61 69 6c 65 | 72 3a 20 4d 6f 7a 69 6c |.X-Maile|r: Mozil|
|000001d0| 6c 61 20 31 2e 32 4e 20 | 28 57 69 6e 64 6f 77 73 |la 1.2N |(Windows|
|000001e0| 3b 20 49 3b 20 31 36 62 | 69 74 29 0a 54 6f 3a 20 |; I; 16b|it).To: |
|000001f0| 77 61 77 64 61 40 61 6c | 63 6f 72 2e 75 73 63 2e |wawda@al|cor.usc.|
|00000200| 65 64 75 0a 0a 77 61 77 | 64 61 40 61 6c 63 6f 72 |edu..waw|da@alcor|
|00000210| 2e 75 73 63 2e 65 64 75 | 20 28 41 62 75 20 57 61 |.usc.edu| (Abu Wa|
|00000220| 77 64 61 29 20 77 72 6f | 74 65 3a 0a 3e 49 20 74 |wda) wro|te:.>I t|
|00000230| 72 69 65 64 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ried the| followi|
|00000240| 6e 67 20 6f 6e 20 6d 79 | 20 43 20 63 6f 6d 70 69 |ng on my| C compi|
|00000250| 6c 65 72 20 61 6e 64 20 | 69 74 20 77 6f 72 6b 65 |ler and |it worke|
|00000260| 64 20 61 73 20 65 78 70 | 65 63 74 65 64 3a 0a 3e |d as exp|ected:.>|
|00000270| 0a 3e 09 69 6e 74 20 69 | 3b 0a 3e 09 63 68 61 72 |.>.int i|;.>.char|
|00000280| 20 2a 70 6f 69 6e 74 65 | 72 3b 0a 3e 09 0a 3e 09 | *pointe|r;.>..>.|
|00000290| 70 6f 69 6e 74 65 72 20 | 3d 20 28 63 68 61 72 20 |pointer |= (char |
|000002a0| 2a 29 20 6d 61 6c 6c 6f | 63 28 35 30 29 3b 0a 3e |*) mallo|c(50);.>|
|000002b0| 09 66 6f 72 20 28 69 3d | 30 3b 20 69 3c 35 30 3b |.for (i=|0; i<50;|
|000002c0| 20 69 2b 2b 29 20 2a 70 | 6f 69 6e 74 65 72 2b 2b | i++) *p|ointer++|
|000002d0| 20 3d 20 69 3b 0a 3e 0a | 3e 4d 79 20 6f 6e 6c 79 | = i;.>.|>My only|
|000002e0| 20 70 72 6f 62 6c 65 6d | 20 69 73 20 77 68 79 3f | problem| is why?|
|000002f0| 20 49 20 6d 65 61 6e 20 | 79 6f 75 20 61 72 65 6e | I mean |you aren|
|00000300| 27 74 20 61 6c 6c 6f 77 | 65 64 20 74 6f 20 64 6f |'t allow|ed to do|
|00000310| 3a 0a 0a 54 68 69 73 20 | 77 6f 72 6b 73 20 62 65 |:..This |works be|
|00000320| 63 61 75 73 65 20 74 68 | 65 20 61 73 73 69 67 6e |cause th|e assign|
|00000330| 6d 65 6e 74 20 69 73 20 | 6e 6f 74 20 69 6e 74 6f |ment is |not into|
|00000340| 20 74 68 65 20 70 6f 69 | 6e 74 65 72 20 76 61 72 | the poi|nter var|
|00000350| 61 69 62 6c 65 2c 20 69 | 74 20 69 73 20 0a 69 6e |aible, i|t is .in|
|00000360| 74 6f 20 74 68 65 20 6c | 6f 63 61 74 69 6f 6e 20 |to the l|ocation |
|00000370| 70 6f 69 6e 74 65 64 20 | 74 6f 20 62 79 20 74 68 |pointed |to by th|
|00000380| 65 20 70 6f 69 6e 74 65 | 72 2e 20 20 54 68 65 72 |e pointe|r. Ther|
|00000390| 65 20 61 72 65 20 6e 6f | 20 61 6d 62 69 67 75 6f |e are no| ambiguo|
|000003a0| 75 73 20 0a 61 73 73 69 | 67 6e 6d 65 6e 74 73 20 |us .assi|gnments |
|000003b0| 69 6e 20 74 68 69 73 20 | 73 74 61 74 65 6d 65 6e |in this |statemen|
|000003c0| 74 2e 20 20 49 6e 20 79 | 6f 75 72 20 73 74 61 74 |t. In y|our stat|
|000003d0| 65 6d 65 6e 74 20 74 68 | 65 20 76 61 6c 75 65 20 |ement th|e value |
|000003e0| 6f 66 20 22 69 22 20 69 | 73 20 0a 73 74 6f 72 65 |of "i" i|s .store|
|000003f0| 64 20 69 6e 20 74 68 65 | 20 6c 6f 63 61 74 69 6f |d in the| locatio|
|00000400| 6e 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 62 79 20 |n pointe|r to by |
|00000410| 22 70 6f 69 6e 74 65 72 | 22 2c 20 74 68 65 6e 20 |"pointer|", then |
|00000420| 74 68 65 20 70 6f 69 6e | 74 65 72 20 69 73 20 0a |the poin|ter is .|
|00000430| 69 6e 63 72 65 6d 65 6e | 74 65 64 2e 0a 0a 0a 3e |incremen|ted....>|
|00000440| 0a 3e 09 69 6e 74 20 69 | 2c 70 3b 0a 3e 0a 3e 09 |.>.int i|,p;.>.>.|
|00000450| 66 6f 72 20 28 69 3d 30 | 3b 20 69 3c 35 30 3b 20 |for (i=0|; i<50; |
|00000460| 69 2b 2b 29 20 70 2b 2b | 20 3d 20 69 3b 0a 3e 0a |i++) p++| = i;.>.|
|00000470| 54 68 69 73 20 69 73 20 | 75 6e 64 65 66 69 6e 65 |This is |undefine|
|00000480| 64 20 62 65 63 61 75 73 | 65 20 69 74 20 69 73 20 |d becaus|e it is |
|00000490| 6e 6f 20 63 6c 65 61 72 | 20 77 68 61 74 20 74 68 |no clear| what th|
|000004a0| 65 20 63 6f 6d 70 69 6c | 65 72 20 69 73 20 73 75 |e compil|er is su|
|000004b0| 70 70 6f 73 65 64 20 74 | 6f 20 0a 64 6f 2e 20 20 |pposed t|o .do. |
|000004c0| 44 6f 20 79 6f 75 20 69 | 6e 63 72 65 6d 65 6e 74 |Do you i|ncrement|
|000004d0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 22 70 | the val|ue of "p|
|000004e0| 22 20 66 69 72 73 74 20 | 74 68 65 6e 20 61 73 73 |" first |then ass|
|000004f0| 69 67 6e 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ign the |value of|
|00000500| 20 0a 22 69 22 20 74 6f | 20 22 70 22 2e 20 20 4f | ."i" to| "p". O|
|00000510| 72 20 64 6f 20 79 6f 75 | 20 61 73 73 69 67 6e 20 |r do you| assign |
|00000520| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 22 69 22 |the valu|e of "i"|
|00000530| 20 74 6f 20 22 70 22 20 | 74 68 65 6e 20 69 6e 63 | to "p" |then inc|
|00000540| 72 65 6d 65 6e 74 20 0a | 22 70 22 3f 20 20 48 6f |rement .|"p"? Ho|
|00000550| 77 20 79 6f 75 20 61 6e | 73 77 65 72 20 74 68 61 |w you an|swer tha|
|00000560| 74 20 71 75 65 73 74 69 | 6f 6e 20 64 65 74 65 72 |t questi|on deter|
|00000570| 6d 69 6e 65 73 20 77 65 | 74 68 65 72 20 22 70 22 |mines we|ther "p"|
|00000580| 20 65 6e 64 73 20 75 70 | 20 77 69 74 68 20 74 68 | ends up| with th|
|00000590| 65 20 0a 76 61 6c 75 65 | 20 6f 66 20 22 69 22 20 |e .value| of "i" |
|000005a0| 6f 72 20 22 69 2b 31 22 | 2e 20 20 45 78 61 63 74 |or "i+1"|. Exact|
|000005b0| 6c 79 20 77 68 61 74 20 | 68 61 70 70 65 6e 73 20 |ly what |happens |
|000005c0| 6f 6e 20 79 6f 75 72 20 | 63 6f 6d 70 69 6c 65 72 |on your |compiler|
|000005d0| 20 69 73 20 0a 75 6e 64 | 65 66 69 6e 65 64 20 61 | is .und|efined a|
|000005e0| 6e 64 20 74 68 65 72 65 | 66 6f 72 20 74 68 65 20 |nd there|for the |
|000005f0| 63 6f 6d 70 69 6c 65 72 | 20 63 6f 75 6c 64 20 64 |compiler| could d|
|00000600| 6f 20 69 74 20 65 69 74 | 68 65 72 20 77 61 79 2c |o it eit|her way,|
|00000610| 20 63 6f 75 6c 64 20 66 | 6c 61 67 20 69 74 20 0a | could f|lag it .|
|00000620| 61 73 20 61 6e 20 65 72 | 72 6f 72 2c 20 6f 72 20 |as an er|ror, or |
|00000630| 63 6f 75 6c 64 20 64 65 | 63 69 64 65 20 74 6f 20 |could de|cide to |
|00000640| 70 75 74 20 61 6e 79 20 | 76 61 6c 75 65 20 69 74 |put any |value it|
|00000650| 20 77 61 6e 74 73 20 69 | 6e 20 22 69 22 20 61 6e | wants i|n "i" an|
|00000660| 64 20 22 70 22 2e 20 20 | 0a 0a 0a 3e 4c 69 6b 65 |d "p". |...>Like|
|00000670| 20 79 6f 75 20 61 72 65 | 6e 27 74 20 73 75 70 70 | you are|n't supp|
|00000680| 6f 73 65 64 20 74 6f 20 | 62 65 20 70 75 74 20 61 |osed to |be put a|
|00000690| 6e 79 74 68 69 6e 67 20 | 6c 69 6b 65 20 78 2b 35 |nything |like x+5|
|000006a0| 20 6f 72 20 73 6f 6d 65 | 20 6f 74 68 65 72 0a 3e | or some| other.>|
|000006b0| 75 6e 73 6f 6c 76 65 64 | 20 71 75 61 6e 74 69 74 |unsolved| quantit|
|000006c0| 79 20 6f 6e 20 74 68 65 | 20 6c 65 66 74 20 73 69 |y on the| left si|
|000006d0| 64 65 20 66 6f 72 20 61 | 73 73 69 67 6e 6d 65 6e |de for a|ssignmen|
|000006e0| 74 2e 20 48 6f 77 65 76 | 65 72 2c 20 69 73 20 74 |t. Howev|er, is t|
|000006f0| 68 69 73 20 61 6e 0a 3e | 65 78 63 65 70 74 69 6f |his an.>|exceptio|
|00000700| 6e 20 66 6f 72 20 70 6f | 69 6e 74 65 72 73 3f 20 |n for po|inters? |
|00000710| 49 20 63 61 6e 20 75 6e | 64 65 72 73 74 61 6e 64 |I can un|derstand|
|00000720| 20 64 6f 69 6e 67 20 69 | 74 20 62 61 63 6b 77 61 | doing i|t backwa|
|00000730| 72 64 73 20 61 73 0a 3e | 70 65 72 66 65 63 74 6c |rds as.>|perfectl|
|00000740| 79 20 6c 65 67 61 6c 3a | 0a 3e 0a 3e 09 69 6e 74 |y legal:|.>.>.int|
|00000750| 20 78 3b 0a 3e 0a 3e 09 | 78 20 3d 20 2a 70 6f 69 | x;.>.>.|x = *poi|
|00000760| 6e 74 65 72 2b 2b 3b 0a | 3e 0a 3e 62 75 74 20 6e |nter++;.|>.>but n|
|00000770| 6f 74 3a 0a 3e 0a 3e 09 | 2a 70 6f 69 6e 74 65 72 |ot:.>.>.|*pointer|
|00000780| 2b 2b 20 3d 20 78 3b 0a | 3e 0a 54 68 65 73 65 20 |++ = x;.|>.These |
|00000790| 32 20 65 78 70 72 65 73 | 73 69 6f 6e 73 20 61 72 |2 expres|sions ar|
|000007a0| 65 20 6c 65 67 61 6c 20 | 66 6f 72 20 74 68 65 20 |e legal |for the |
|000007b0| 73 61 6d 65 20 72 65 61 | 73 6f 6e 2e 20 20 54 68 |same rea|son. Th|
|000007c0| 65 72 65 20 69 73 20 6e | 6f 20 61 62 69 67 75 69 |ere is n|o abigui|
|000007d0| 74 79 20 0a 61 6e 64 20 | 74 68 65 20 63 6f 6d 70 |ty .and |the comp|
|000007e0| 69 6c 65 72 20 63 61 6e | 20 65 61 73 69 6c 79 20 |iler can| easily |
|000007f0| 67 65 6e 65 72 61 74 65 | 20 74 68 65 20 70 72 6f |generate| the pro|
|00000800| 70 65 72 20 63 6f 64 65 | 2e 20 20 0a 0a 0a 0a 0a |per code|. .....|
|00000810| 3e 49 20 77 6f 75 6c 64 | 20 61 70 70 72 65 63 69 |>I would| appreci|
|00000820| 61 74 65 20 61 6e 79 20 | 68 69 6e 74 73 2e 20 54 |ate any |hints. T|
|00000830| 68 61 6e 6b 73 20 79 6f | 75 2e 0a 3e 0a 3e 2d 41 |hanks yo|u..>.>-A|
|00000840| 62 75 20 57 61 77 64 61 | 0a 3e 20 77 61 77 64 61 |bu Wawda|.> wawda|
|00000850| 40 73 63 66 2e 75 73 63 | 2e 65 64 75 0a 3e 0a 0a |@scf.usc|.edu.>..|
|00000860| 0a 2d 2d 20 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.-- .***|********|
|00000870| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000880| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000890| 2a 2a 2a 2a 0a 42 72 69 | 61 6e 20 48 69 62 62 65 |****.Bri|an Hibbe|
|000008a0| 72 74 20 20 62 5f 68 69 | 62 62 65 72 74 40 63 73 |rt b_hi|bbert@cs|
|000008b0| 63 33 32 2e 65 6e 65 74 | 2e 64 65 63 2e 63 6f 6d |c32.enet|.dec.com|
|000008c0| 0a 44 69 67 69 74 61 6c | 20 45 71 75 69 70 6d 65 |.Digital| Equipme|
|000008d0| 6e 74 20 43 6f 72 70 6f | 72 61 74 69 6f 6e 0a 41 |nt Corpo|ration.A|
|000008e0| 6c 6c 20 6f 70 69 6e 69 | 6f 6e 73 20 65 78 70 72 |ll opini|ons expr|
|000008f0| 65 73 73 65 64 20 61 72 | 65 20 6d 79 20 6f 77 6e |essed ar|e my own|
|00000900| 20 61 6e 64 20 73 68 6f | 75 6c 64 0a 6e 6f 74 20 | and sho|uld.not |
|00000910| 62 65 20 61 73 73 75 6d | 65 64 20 74 6f 20 62 65 |be assum|ed to be|
|00000920| 20 74 68 65 20 6f 70 69 | 6e 69 6f 6e 20 6f 66 20 | the opi|nion of |
|00000930| 6d 79 20 65 6d 70 6c 6f | 79 65 72 0a 0a 0a |my emplo|yer... |
+--------+-------------------------+-------------------------+--------+--------+